package AssignmentInOperand;

public class Test {
	public void bar() {
	    int x = 2;
	    if ((x = getX()) == 3) {
	      System.out.println("3!");
	    }
	}
	
	int getX () { return 1; }
}
